﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="QQOnline.ascx.cs" Inherits="Control_QQOnline" %>
<div id="STATICMENU" style="z-index: 999; left: 880px; visibility: visible; width: 76px;
    position: absolute; top: 274px; height: 148px">
    <table border="0" cellpadding="0" cellspacing="0" width="100">
        <tr>
            <td colspan="3">
                <img border="0" height="71" src="Control/images/QQ_3.gif" usemap="#Map" width="106" /></td>
        </tr>
        <tr bgcolor="#ffffff">
            <td background="Control/images/QQ_8.gif" height="29" width="4">
            </td>
            <td align="center" width="98">
                <table bgcolor="#ffffff" cellpadding="3" cellspacing="0" width="100%">
                    <tr>
                        <td width="32%">
                            <div align="center">
                                <img height="17" src="Control/images/QQ.gif" width="16" /></div>
                        </td>
                        <td width="68%">
                            <a href="http://wpa.qq.com/msgrd?V=1&Uin=<% =this.QQ %>&Site=www.qingdaohengda.com &Menu=no"
                                target="_blank">服务咨询1</a>
                        </td>
                    </tr>
                </table>
            </td>
            <td background="Control/images/QQ_7.gif" width="4">
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <img height="44" src="Control/images/QQ_12.gif" width="106" /></td>
        </tr>
    </table>
    <map name="Map" id="Map">
        <area shape="circle" coords="89,10,11" href="javascript:gogo();">
    </map>

    <script type="text/javascript">
<!--
var stmnGAP1 = 70; 
var stmnGAP2 = 325; 
var stmnBASE = 70; 
var stmnActivateSpeed = 200;
var stmnScrollSpeed = 10;

var stmnTimer;

function RefreshStaticMenu()
{
var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;

stmnStartPoint = parseInt(STATICMENU.style.top, 10);
stmnEndPoint = document.body.scrollTop + stmnGAP2;
if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;

stmnRefreshTimer = stmnActivateSpeed;

if ( stmnStartPoint != stmnEndPoint ) {
                stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
                STATICMENU.style.top = parseInt(STATICMENU.style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount );
                stmnRefreshTimer = stmnScrollSpeed;
}

stmnTimer = setTimeout ("RefreshStaticMenu();", stmnRefreshTimer);
}

                STATICMENU.style.top = document.body.scrollTop + stmnBASE;
                RefreshStaticMenu();
//-->
    </script>

    <script type="text/javascript">
	function gogo(){
		STATICMENU.style.display='none';
	}
    </script>

</div>
